package com.zwj.rms.service;

import com.zwj.rms.bo.SelectUserBo;
import com.zwj.rms.bo.UserBo;
import com.zwj.rms.bo.UserLoginBo;
import com.zwj.rms.entity.SysUserEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zwj.rms.vo.Result;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author zwj
 * @since 2021-09-08
 */
public interface SysUserService extends IService<SysUserEntity> {
    //登录
    public Result login(UserLoginBo userLoginBo);
    //条件查询用户
    public Result selectUser(SelectUserBo selectUserBo);
    //修改用户状态
    public Result updateUserStatus(UserBo userBo);
    //删除用户
    public Result deleteUser(UserBo userBo);

    Result addUser(SysUserEntity sysUserEntity);

    Result updateUser(SysUserEntity sysUserEntity);
}
